<template>
  <div id="app">
    <BasicLayout />
  </div>

<!--  <a-config-provider :locale="zhCN">
    <router-view></router-view>
  </a-config-provider>-->
</template>

<script setup lang="ts">
import BasicLayout from '@/layouts/Basiclayout.vue'
import { healthUsingGet } from '@/api/mainController'
import { useLoginUserStore } from '@/stores/useLoginUserStore.ts'

const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUser()

healthUsingGet().then((res) => {
  console.log(res)
})

/**
 * antd全局配置中文
 */
/*import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
dayjs.locale('en')
export default {
  data () {
    return {
      zhCN
    }
  }
}*/

</script>

<style scoped>

</style>
